import type { Library } from '@/api/modules/data/library';
import type { Media } from '@/api/modules/lcd/lcd-device';
import { useQuery, useTable } from '@/hooks/table';

export const allowEditMenu = ref(false);

type MediaSearch = {
  mType?: string[];
  keyword: string;
};
export const query = useQuery<Media & MediaSearch>({
  mType: ['0', '1', '2', '3'],
  keyword: '',
});
export const table = useTable({
  rowKey: 'mediaId',
  moduleName: 'lcd-device',
});
